package com.nuo.admin.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色权限表
 *
 * @TableName sys_role_permission
 */
@TableName(value = "sys_role_permission")
@Data
@AllArgsConstructor
public class SysRolePermission {
    /**
     * 角色id
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 资源id
     */
    @TableField(value = "permission_id")
    private Long permissionId;

}